home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / zhpev.z / zhpev
Encoding:
Text File  |  2002-10-03  |  4.4 KB  |  133 lines

  1.  
  2.  
  3.  
  4. ZZZZHHHHPPPPEEEEVVVV((((3333SSSS))))                                                            ZZZZHHHHPPPPEEEEVVVV((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ZHPEV - compute all the eigenvalues and, optionally, eigenvectors of a
  10.      complex Hermitian matrix in packed storage
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE ZHPEV( JOBZ, UPLO, N, AP, W, Z, LDZ, WORK, RWORK, INFO )
  14.  
  15.          CHARACTER     JOBZ, UPLO
  16.  
  17.          INTEGER       INFO, LDZ, N
  18.  
  19.          DOUBLE        PRECISION RWORK( * ), W( * )
  20.  
  21.          COMPLEX*16    AP( * ), WORK( * ), Z( LDZ, * )
  22.  
  23. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  24.      These routines are part of the SCSL Scientific Library and can be loaded
  25.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  26.      directs the linker to use the multi-processor version of the library.
  27.  
  28.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  29.      4 bytes (32 bits). Another version of SCSL is available in which integers
  30.      are 8 bytes (64 bits).  This version allows the user access to larger
  31.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  32.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  33.      only one of the two versions; 4-byte integer and 8-byte integer library
  34.      calls cannot be mixed.
  35.  
  36. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  37.      ZHPEV computes all the eigenvalues and, optionally, eigenvectors of a
  38.      complex Hermitian matrix in packed storage.
  39.  
  40. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  41.      JOBZ    (input) CHARACTER*1
  42.              = 'N':  Compute eigenvalues only;
  43.              = 'V':  Compute eigenvalues and eigenvectors.
  44.  
  45.      UPLO    (input) CHARACTER*1
  46.              = 'U':  Upper triangle of A is stored;
  47.              = 'L':  Lower triangle of A is stored.
  48.  
  49.      N       (input) INTEGER
  50.              The order of the matrix A.  N >= 0.
  51.  
  52.      AP      (input/output) COMPLEX*16 array, dimension (N*(N+1)/2)
  53.              On entry, the upper or lower triangle of the Hermitian matrix A,
  54.              packed columnwise in a linear array.  The j-th column of A is
  55.              stored in the array AP as follows:  if UPLO = 'U', AP(i + (j-
  56.              1)*j/2) = A(i,j) for 1<=i<=j; if UPLO = 'L', AP(i + (j-1)*(2*n-
  57.              j)/2) = A(i,j) for j<=i<=n.
  58.  
  59.              On exit, AP is overwritten by values generated during the
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ZZZZHHHHPPPPEEEEVVVV((((3333SSSS))))                                                            ZZZZHHHHPPPPEEEEVVVV((((3333SSSS))))
  71.  
  72.  
  73.  
  74.              reduction to tridiagonal form.  If UPLO = 'U', the diagonal and
  75.              first superdiagonal of the tridiagonal matrix T overwrite the
  76.              corresponding elements of A, and if UPLO = 'L', the diagonal and
  77.              first subdiagonal of T overwrite the corresponding elements of A.
  78.  
  79.      W       (output) DOUBLE PRECISION array, dimension (N)
  80.              If INFO = 0, the eigenvalues in ascending order.
  81.  
  82.      Z       (output) COMPLEX*16 array, dimension (LDZ, N)
  83.              If JOBZ = 'V', then if INFO = 0, Z contains the orthonormal
  84.              eigenvectors of the matrix A, with the i-th column of Z holding
  85.              the eigenvector associated with W(i).  If JOBZ = 'N', then Z is
  86.              not referenced.
  87.  
  88.      LDZ     (input) INTEGER
  89.              The leading dimension of the array Z.  LDZ >= 1, and if JOBZ =
  90.              'V', LDZ >= max(1,N).
  91.  
  92.      WORK    (workspace) COMPLEX*16 array, dimension (max(1, 2*N-1))
  93.  
  94.      RWORK   (workspace) DOUBLE PRECISION array, dimension (max(1, 3*N-2))
  95.  
  96.      INFO    (output) INTEGER
  97.              = 0:  successful exit.
  98.              < 0:  if INFO = -i, the i-th argument had an illegal value.
  99.              > 0:  if INFO = i, the algorithm failed to converge; i off-
  100.              diagonal elements of an intermediate tridiagonal form did not
  101.              converge to zero.
  102.  
  103. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  104.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  105.  
  106.      This man page is available only online.
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.